Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add object diff to log with duplicate entity report #1140

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

RonaldEAM
Copy link
Contributor

No description provided.

@RonaldEAM RonaldEAM requested a review from a team as a code owner December 4, 2024 20:00
@RonaldEAM RonaldEAM force-pushed the add-diff-duplicate-entity-report branch from 1be6069 to d0d01f4 Compare December 4, 2024 20:01
@RonaldEAM RonaldEAM force-pushed the add-diff-duplicate-entity-report branch from d0d01f4 to e7240a0 Compare December 4, 2024 20:04
try {
propertiesDiff = diffObjects(aClone, bClone);
} catch (e) {
// ignore
Copy link
Contributor

@VDubber VDubber Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be nice to get a log that the diffObject operation failed. same on line 251

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hard to do, as we don't pass a logger to the job state code, I could add a property for the error message to the return object of this function, this ends up in a log so it could work, but it's weird. Let me know what you think!

@RonaldEAM RonaldEAM merged commit c5bef55 into main Dec 9, 2024
8 checks passed
@RonaldEAM RonaldEAM deleted the add-diff-duplicate-entity-report branch December 9, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants